﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ItProto1;
using RFS.BizLogic.Sys.impl;
using RFS.BizLogic.utils;

namespace ProtoWinform
{
    public partial class FrmMain : DevExpress.XtraEditors.XtraForm
    {



        private ILog _log;
        private IZuhuoManager _m;
        
        public FrmMain()
        {
            InitializeComponent();


            Task.Run(() => ini());
        }

        void ini()
        {

            try
            {
                _log = AntiObject.Ins.Get<ILog>();

                _m = AntiObject.Ins.Get<IZuhuoManager>();
                
                _m.DayChanged+= MOnDayChanged;
                
            }
            catch (Exception e)
            {
                _log.Err(e);
                Console.WriteLine(e);
            }
            
            
        }

        private void MOnDayChanged(object sender, EventArgs e)
        {
            
            
        }

        private void labelControl2_Click(object sender, EventArgs e)
        {
            

        }
    }
}
